<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            list-style: none;
            text-decoration: none;
        }
        .top{
            /* 三要素 */
            height: 100px;
            background-color: #ffffff;
        }
        .logo{
            width: 1100px;
            display: flex;
            justify-content: space-between;
            margin: auto;
            padding: 15px 0;
        }
        .nav{
            height: 50px;
            background: url(./images/nav_bg.png);
        }
        .nav ul{
            /* 弹性布局 */
            display: flex;
            width: 1100px;
            margin: auto;
            text-align: center;
            line-height: 50px;

        }
        .nav ul li a{
            width: 100px;
            height: 50px;
            /* background-color: #ff4f4f; */
            display: inline-block;
            background: url(./images/nav_border.png) no-repeat right;
            color: black;
            font-weight: 700;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="top">
        <div class="logo">
            <img src="./images/logo.png" alt="">
            <img src="./images/search.png" alt="">
        </div>
        <div class="nav">
            <ul>
                <li><a href="">首页</a></li>
                <li><a href="">首页首页</a></li>
                <li><a href="">首页首页</a></li>
                <li><a href="">首页</a></li>
                <li><a href="">首页首页</a></li>
                <li><a href="">首页首页</a></li>
            </ul>
        </div>
    </div>
</body>
</html>